<template>
  <div>
    <el-row style="margin: 140px 200px">
      <el-col :span="9">
        <el-card :body-style="{ padding: '0px' }" style="width: 300px">
          <img src="./img/User.png" class="image" />
          <div style="padding: 14px">
            <div class="bottom clearfix">
              <el-divider></el-divider>
              <el-button
                round
                style="width:100%"
                class="button"
                @click="toUser()"
                >用户端</el-button
              >
            </div>
          </div>
        </el-card>
      </el-col>
      <el-col :span="9">
        <el-card :body-style="{ padding: '0px' }" style="width: 300px">
          <img src="./img/system.jpg" class="image" />
          <div style="padding: 14px">
            <div class="bottom clearfix">
              <el-divider></el-divider>
              <el-button
                round
                style="width:100%"
                class="button"
                @click="toSYS()"
                >系统端</el-button
              >
            </div>
          </div>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card :body-style="{ padding: '0px' }" style="width: 300px">
          <img src="./img/company.png" class="image" />
          <div style="padding: 14px">
            <div class="bottom clearfix">
              <el-divider></el-divider>
              <el-button round style="width:100%" @click="toCOM()"
                >公司端</el-button
              >
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Login",
  data() {
    return {};
  },
  methods: {
    toUser() {
      window.location.href = "http://47.120.40.248/#/";
    },
    toSYS() {
      window.location.href = "http://47.120.7.70/#/";
    },
    toCOM() {
      window.location.href = "http://8.130.52.6/#/";
    },
  },
};
</script>
<style>
.bottom {
  margin-top: 13px;
  line-height: 12px;
}

.image {
  width: 100%;
  display: block;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}
</style>